                                             </div> 
                                        </div>
                                   </div>
                              </div>
                         </div>
                    </div>

                </div>
                <!-- /Page Body -->
            </div>
            <!-- /Page Content -->
        </div>
        <!-- /Page Container -->
        <!-- Main Container -->

    </div>

<!--Page Related Scripts-->
<script src="/assets/js/validation/bootstrapValidator.js"></script>
<script>

$(document).ready(function (){$("#SubmitData").bootstrapValidator();});

function ConfirmDelete(id,url){
	bootbox.confirm({  
		buttons: {  
		  confirm: {  
			 label: '确认',  
		  },  
		  cancel: {  
			 label: '取消',  
		  }  
		},  
		title:'提示',
		message: '<i class="glyphicon glyphicon-warning-sign"></i> 您确认要删除 '+id+' ID?',  
		callback: function(result) {  
			if(result) {  
				window.location.href=url;
				return true;
			}
		} 
	
	})
	
	return false;
}

$("#confirm").on('click', function () {
	var ids='';
	$("input[type='checkbox'][name='checkbox[]']").each(function(){
		if($(this).is(":checked")){
			if(ids){
				ids+=','+$(this).val(); 
			}else{
				ids+=$(this).val(); 
			}
		}
	});
	
	if(ids){
		bootbox.confirm({  
			buttons: {  
			  confirm: {  
				 label: '确认',  
			  },  
			  cancel: {  
				 label: '取消',  
			  }  
			},  
			title:'提示',
			message: '<i class="glyphicon glyphicon-warning-sign"></i> 您确认要删除 '+ids+' ?',  
			callback: function(result) {  
				if(result) {  
					$("#SubmitForm").submit();
					return true;
				}
			} 
		
		})

	}else{
		bootbox.alert({ 
			//title:'提示',
			 buttons: {  
               ok: {  
                    label: '确认',  
                    className: 'btn-myStyle'  
                }  
            },  
			size: 'small',
			message: '<i class="glyphicon glyphicon-warning-sign"></i> 请选择要删除的ID操作！' 
		})
	}
	
	return false;
});
</script>
<!--Page Related Scripts-->
<script src="/assets/js/bootbox/bootbox.js"></script>
<script src="/assets/js/socket.io/socket.io.js"></script>
<script src="/assets/js/footer.js"></script>
   
</body>
<!--  /Body -->
</html>
